package com.xzakota.minesweeper.msg;

import com.xzakota.minesweeper.Client;

/**
 * 获取所有房间默认处理器
 *
 * @author Xzakota
 */
public class GameAllRoomMsgMsgDefaultHandler extends DefaultHandler {
    @Override
    public void handle(BaseMsg msg) {
        if (msg instanceof GameAllRoomMsg gameAllRoomMsg) {
            Client.userRoom(gameAllRoomMsg);
        }
    }
}
